package com.company;

public class Main {

    public static void main(String[] args) {
	// write your code here
 demo D=new demo();
  D.method();
  System.out.println(D.a);

        System.out.println(D.a);

    }
}
class demo{
    final int a=5;
    {System.out.println("构造代码块");}
    static {System.out.println("静态代码块");}
    public demo(){
        System.out.println("构造方法");
    }
    public  void  method(){
        {System.out.println("局部代码块");}
    }
}